Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Setting Up Transformation Matrices


Q3Matrix4x4_SetRotate_X

You can use the Q3Matrix4x4_SetRotate_X function to configure a 4-by-4 transformation matrix that rotates objects around the x axis.

TQ3Matrix4x4 *Q3Matrix4x4_SetRotate_X (
TQ3Matrix4x4 *matrix4x4, 
float angle);
matrix4x4
A 4-by-4 matrix.
angle
The desired angle of rotation around the x coordinate axis, in radians.
DESCRIPTION
The Q3Matrix4x4_SetRotate_X function returns, as its function result and in the matrix4x4 parameter, a rotational matrix that rotates an object by the angle angle around the x axis.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996